package com.init.bootframe.business.service;

import com.init.bootframe.business.vo.CustomerVO;
import net.sf.json.JSONObject;

import java.util.List;
import java.util.Map;

public interface ICustomerService {

    /**
     * 分页查询
     * @param customerVO
     * @return
     */
    JSONObject findCustomerList(CustomerVO customerVO);

    /**
     * list 查询
     * @param customerVO
     * @return
     */
    List<CustomerVO> findCustomerLists(CustomerVO customerVO);

    /**
     * 详情查询
     * @param customerVO
     * @return
     */
    CustomerVO findCustomer(CustomerVO customerVO);

    /**
     * 客户添加
     * @param customerVO
     * @return
     */
    Map<String, Object> addCustomer(CustomerVO customerVO);

    /**
     * 客户更新
     * @param customerVO
     * @return
     */
    Map<String, Object> updateCustomer(CustomerVO customerVO);

    /**
     * 客户删除
     * @param customerVO
     * @return
     */
    Map<String, Object> deleteCustomer(CustomerVO customerVO);

}
